﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default5.aspx.cs" Inherits="Default5" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <script src="angular.js"></script>
    <script src="angular.min.js"></script>
    <script src="controller.js"></script>
</head>
<body>
    <form id="form1" runat="server">
        <div ng-app="" ng-init="mySwitch=true">
            <p>

                <button ng-disabled="mySwoitch">点我</button>
            </p>

            <p>

                <input type="checkbox" ng-model="mySwoitch" />按钮
            </p>


            <p>
                {{mySwoitch}}
            </p>

            <p ng-show="true">我是可见的</p>
            <p ng-show="false">我是不可见的</p>
        </div>
    </form>
</body>
</html>
